package com.eastfair.tag.dto;

import com.eastfair.annotation.base.SubjectTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 标签资源关联关系请求实体
 * Date:2022/3/11
 * Time:16:03
 *
 * @author zjn
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TagTargetDTO implements Serializable {
    private static final long serialVersionUID = 3433562842613954976L;
    /**
     * 主体id
     */
    @ApiModelProperty(value = "主体id")
    private Long subjectId;

    /**
     * 主体类型
     */
    @ApiModelProperty(value = "主体类型")
    private SubjectTypeEnum subjectType;

    /**
     * 资源集合
     */
    @ApiModelProperty(value = "资源集合")
    List<TagResourceDTO> tagResourceDTOList;

    /**
     * 标签id集合
     */
    @ApiModelProperty(value = "标签id集合")
    private List<Long> tagIdList;

}
